<?php

class Map
{
	private $id;			// (int), MapId
	private $name;			// (string), Map name
	private $width;			// (int), Amount of tiles
	private $height;		// (int), Amount of tiles
	private $tiles;			// (string), The maps tiles

	public function __construct( $id, $name, $width, $height, $tiles )
	{
		$this->id = $id;
		$this->name = $name;
		$this->width = $width;
		$this->height = $height;
		$this->tiles = $tiles;
	}

	public function id()
	{
		return $this->id;
	}

	public function name()
	{
		return $this->name;
	}

	public function width()
	{
		return $this->width;
	}

	public function height()
	{
		return $this->height;
	}

	public function tiles()
	{
		return $this->tiles;
	}
}
